/*
 * Created on 14 sept. 2003
 *
 * To change the template for this generated file go to
 * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
 */
package jmcnet.libcommun.utilit.mail;

import javax.mail.internet.AddressException;
import javax.mail.internet.InternetAddress;

/**
 * @author Jean-Marc
 *
 * To change the template for this generated type comment go to
 * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
 */
public class AdresseMail {
	public static boolean isValide(String adresseMail) {
		try {
			InternetAddress add=new InternetAddress(adresseMail);
			add.validate();			
			return true;
		} catch (AddressException ae) {
			return false;
		}
		
	}

}
